#ifndef CLASSDATA_H
#define CLASSDATA_H

#include <QWidget>
class StudentData;
class ClassData {
public:
    ClassData();
    void setClassName(const QString& className)
    {
        m_className = className;
    }
    QString getClassName() const { return m_className; }

    QList<StudentData*> getStudentList() const { return m_studentDataList; }
    void appendStudentList(StudentData* studentData) { m_studentDataList.append(studentData); }
    void removeStudentList(const int& listNum) { m_studentDataList.removeAt(listNum); }

private:
    QString m_className;
    QList<StudentData*> m_studentDataList;
};

#endif // CLASSDATA_H
